package com.lin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lin
 * @since 2022-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("warning_device")
public class WarningDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("department_did")
    private Integer departmentDid;

    @TableField("manager")
    private String manager;

    @TableField("ip")
    private String ip;

    @TableField("port")
    private Integer port;

    @TableField("channel")
    private Integer channel;

    @TableField(value = "update_time")
    private Long updateTime;

    @TableField("description")
    private String description;

    @TableField("deleted")
    private Boolean deleted;


    public static final String ID = "id";

    public static final String CODE = "code";

    public static final String NAME = "name";

    public static final String DEPARTMENT_DID = "department_did";

    public static final String MANAGER = "manager";

    public static final String IP = "ip";

    public static final String PORT = "port";

    public static final String CHANNEL = "channel";

    public static final String UPDATE_TIME = "update_time";

    public static final String DESCRIPTION = "description";

    public static final String DELETED = "deleted";

}
